package com.xxg.renrenorder.domain.query;

import com.xxg.renrenorder.dao.bean.ExpressInfo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 审核订单参数
 *
 * @author xxg
 * @date 2020/10/30
 */
@Data
@ApiModel(value = "VerifyOrderQuery", description = "审核订单参数")
public class VerifyOrderQuery {
    @NotNull(message = "id不能为null")
    @ApiModelProperty(value = "售后订单ID", required = true)
    private String id;
    @NotNull(message = "status不能为null")
    @ApiModelProperty(value = "售后状态：1-等待退货，2-退款中，4-审核不通过", required = true)
    private Integer status;
    @ApiModelProperty(value = "true-缺货，false-不缺货,退款中状态必填")
    private Boolean lessQuantity;
    @ApiModelProperty(value = "true-个人原因，false-平台原因，退款中状态必填")
    private Boolean verifyType;
    @ApiModelProperty(value = "原因说明")
    private String verifyRemark;
    @ApiModelProperty(value = "审核反馈信息")
    private String response;
    @ApiModelProperty(value = "维修完成、换货完成、补寄完成、补寄零件完成寄回的物流信息，这四种状态时必填")
    private List<ExpressInfo> backExpressInfo;
}